package com.example.gybicycle.dao;


import com.example.gybicycle.common.sql.CrudDao;
import com.example.gybicycle.entity.Bike;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BikeDao extends CrudDao<Bike>{
 public int updateByLatNo(Bike bike);

 public Bike getByLock(String id);
 public Bike getByLatchNo(String id);

 public List<String> findCode(Bike bike);

}
